﻿@{
    ViewData["Title"] = "Home Page";
}

<script src="~/ckeditor2/ckeditor.js"></script>
<textarea name="editor1" id="editor1" rows="10" cols="80">
                This is my textarea to be replaced with CKEditor.
            </textarea>
<script data-sample="1">
    CKEDITOR.replace('editor1', {
        extraPlugins: 'easyimage',
        removePlugins: 'image,cloudservices',
        removeDialogTabs: 'link:advanced',
        height: 630,
        @*cloudServices_uploadUrl: '@Url.Action("Upload","Home")',
        cloudServices_tokenUrl:'',*@
        cloudServices_uploadUrl: 'https://33333.cke-cs.com/easyimage/upload/',
        // Note: this is a token endpoint to be used for CKEditor 4 samples only. Images uploaded using this token may be deleted automatically at any moment.
        // To create your own token URL please visit https://ckeditor.com/ckeditor-cloud-services/.
        cloudServices_tokenUrl: 'https://33333.cke-cs.com/token/dev/ijrDsqFix838Gh3wGO3F77FSW94BwcLXprJ4APSp3XQ26xsUHTi0jcb1hoBt',
        easyimage_toolbar: [
            'EasyImageFull',
            'EasyImageAlignLeft',
            'EasyImageAlignCenter',
            'EasyImageAlignRight',
            'EasyImageAlt'
        ]
    });
</script>


